package com.st.emps.staff.model;

import com.st.emps.util.Pager;

public class StaffModel extends Pager{
private String code;
private String name;
private String password;
private String sex;
private String age;
private String departmentId;
private String departmentName;
private String image;

public String getImage() {
	return image;
}
public void setImage(String image) {
	this.image = image;
}
public String getCode() {
	return code;
}
public void setCode(String code) {
	this.code = code;
}
public String getName() {
	return name;
}
public void setName(String name) {
	this.name = name;
}
public String getPassword() {
	return password;
}
public void setPassword(String password) {
	this.password = password;
}


public String getSex() {
	return sex;
}
public void setSex(String sex) {
	this.sex = sex;
}
public String getAge() {
	return age;
}
public void setAge(String age) {
	this.age = age;
}
public String getDepartmentId() {
	return departmentId;
}
public void setDepartmentId(String departmentId) {
	this.departmentId = departmentId;
}
public StaffModel(String code, String name, String password) {
	super();
	this.code = code;
	this.name = name;
	this.password = password;
}
public StaffModel(String code, String name, String password, String sex, String age, String departmentId) {
	super();
	this.code = code;
	this.name = name;
	this.password = password;
	this.sex = sex;
	this.age = age;
	this.departmentId = departmentId;
}
public StaffModel(String code, String password) {
	super();
	this.code = code;
	this.password = password;
}
public StaffModel(String code) {
	super();
	this.code = code;
}


public String getDepartmentName() {
	return departmentName;
}
public void setDepartmentName(String departmentName) {
	this.departmentName = departmentName;
}
public StaffModel() {
	super();
}

public StaffModel(String code, String name, String password, String sex, String age, String departmentId,
		String departmentName) {
	super();
	this.code = code;
	this.name = name;
	this.password = password;
	this.sex = sex;
	this.age = age;
	this.departmentId = departmentId;
	this.departmentName = departmentName;
}



public StaffModel(String code, String name, String password, String sex, String age, String departmentId,
		String departmentName, String image) {
	super();
	this.code = code;
	this.name = name;
	this.password = password;
	this.sex = sex;
	this.age = age;
	this.departmentId = departmentId;
	this.departmentName = departmentName;
	this.image = image;
}
@Override
public String toString() {
	return "StaffModel [code=" + code + ", name=" + name + ", password=" + password + ", sex=" + sex + ", age=" + age
			+ ", departmentId=" + departmentId + ", departmentName=" + departmentName + ", image=" + image + "]";
}





}
